<?php

class Base {

	public function setView($view, $data=NULL) {
		if (is_array($data))
			extract($data);
		include VIEW . $view . PEXT;
	}

}

/* end of base.php */